/* 
	The following information must not be removed:
	Awesome Form v2 CSS
	Written by: Paul Armstrong, Paul Armstrong Designs
	Site: http://paularmstrongdesigns.com
	Example & Documentation: http://paularmstrongdesigns.com/examples/css/awesome-form.html
	Thu Jun 22 22:38:39 2006

	Special thanks to Zach Johnson for helping and pushing me to make the changes.
	Site: http://tech.no.logi.es (those aren't dots, they are diamonds)

	This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License
	http://creativecommons.org/licenses/by-sa/2.5/
*/


/*
	In the following section, many of the values must be changed in reference to another.
	Items labeled as 'subjective' are not dependent and may be easily changed as you see fit.
*/
form.awesome label { 
	width: 200px; /* label width *//* label margin = (input left margin) - (label width) */
	margin-right: 10px; /* label margin */
}
form.awesome label.long, form.awesome p.label {
	margin-left: 120px; /* subjective */
	width: 390px; /* (textarea width) + (label width) + (label margin) - (left margin) */
}
form.awesome label span {
	color: #900; /* color of required asterisk */
}
form.awesome input, form.awesome textarea, form.awesome select {
	margin-left: 210px; /* (label width) + (label margin) */
	width: 200px; /* subjective */
}
form.awesome textarea { 
	width: 500px; /* subjective, recommend: (3/2)(input width) */
	height: 100px;
}
form.awesome p.desc {
	margin-left: 210px; /* (label width) + (label margin) */
}
form.awesome .checks label {
	margin-left: 220px; /* (label width) + 2(label margin) */
}
form.awesome .checks input {
	margin-left: 210px; /* (label width) + (label margin) */
}

/*
	The following makes Internet Explorer 6.x play nicely. 
	These fix the double float margin bug.
*/
* html form.awesome .checks input { 
	margin-left: 105px;  /* (1/2)((label width) + (label margin)) */
}
* html form.awesome .checks label { 
	margin-left: 210px; /* (label width) + (label margin) */
	height: 1em; 
}


/*********************************************************************************
	DO NOT EDIT BELOW THIS LINE
*********************************************************************************/


form.awesome {
	margin: 0 0 1em;
	margin-top: 10px;
}

form.awesome label {
	/* 
		A label must precede the form element in the HTML
		You must keep the top padding for some browsers to keep the label and the form element looking on the same line
	*/
	float: left;
	text-align: right;
	padding-top: 0.2em;
	font-weight: bold;
	font-size: 1em;
}

form.awesome label:after { 
	content: ""; 
}

form.awesome label.long {
	/*
		If your label text does not fit in the left-hand side, consider this class
	*/
	float: none;
	display: block;
	text-align: left;
}

form.awesome label.long:after {
	content: "";
}

form.awesome input, form.awesome textarea, form.awesome select {
	/*
		These items must immediately follow the LABEL item associated with it and followed by a BR (see below).
		The following width must be 10pixels wider than the width of the LABEL.
	*/
	display: block;
	margin-bottom: -0.5em;
}
form.awesome select[multiple="multiple"] {
	/*
		Mozilla has some weird concept of how to display multiple select boxes.
		For some reason, display: block; does not affect it.
		For more information, see https://bugzilla.mozilla.org/show_bug.cgi?id=342531
		This fixes that problem. DON'T FORGET YOUR BR TAG AFTER SELECT!
	*/
	margin-left: 0px;
}
form.awesome br { 
	/* 
		Always include a BR tag at the end of a line of items -- generally immediately following one of an INPUT, SELECT or TEXTAREA.
		Within div.checks, include the BR after the LABEL
	*/
	clear: left;
} 

form.awesome input[type="radio"], form.awesome input[type="checkbox"], 
form.awesome input[type="hidden"] { 
	/* 
		Keeps Mozilla browsers (and others) from making the RADIO and CHECKBOXES too wide and/or tall.
		Also removes unnecessary borders from these browsers (They don't respond as expected) 
	*/
	width: auto; 
	height: 0.8em; 
	border: 0;
}

form.awesome input[type="hidden"] {
	/*
		Firefox doesn't want to make them actually hidden, so I'll force it.
	*/
	display: none;
}

form.awesome p.desc {
	/*
		Use this immediately following an item that needs a longer description than can be handled by the LABEL.
		The left margin should be the same as INPUT, TEXTAREA and SELECT objects.
	*/
	display: block;
	margin-top: -0.4em;
	margin-bottom: 1em;
	font-style: italic;
	font-size: 12px;
	padding-top: 3px;
}


/* 
	The following section is for reversing the display of CHECKBOX and RADIO INPUTs.
	Surround the section of items with <fieldset class="checks"></fieldset> or <div class="checks"></div>.
	It is highly recommended to use FIELDSET over DIV when there are multiple items.
	In the section, the INPUT precedes the LABEL and the BR comes last (after the label).
*/
form.awesome .checks label {
	/*
		Overrides for previously defined stuff and changes.
		Left margin must be 10pixels more than "form.awesome input, form.awesome select" etc.
	*/
	float: none;
	width: auto;
	clear: none;
	display: block;
	text-align: left;
	height: 2em;
	padding-top: 0;
	margin-bottom: -1em;
}

form.awesome .checks label:after { 
	/* 
		Makes the ":" not generated after the LABEL. 
	*/
	content: ""; 
} 

form.awesome .checks input {
	/*
		Left margin is the same value as "form.awesome input, form.awesome select" etc.
	*/
	float: left;
	text-align: right;
	margin-bottom: 0.5em;
	width: auto;
}

/* 
	End reverse checks/radios section
*/


/*
	I found my own IE CSS display bug. I call it the "IE sucks, so it redraws the top border all over the fieldset like a jerk bug."
*/
* html form.awesome input, * html form.awesome textarea, * html form.awesome select,
* html form.awesome .checks input, * html form.awesome .checks label, 
* html form.awesome p.desc {
	margin-top: 0;
	margin-bottom: 0;
}
* html form.awesome fieldset br {
	/*
		Hooray! We have a fix!
		For some crazy reason, IE lets me style its BR tag.
	*/
	line-height: 0.5em;
	font-size: 0.5em;
}
